# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=liblangtag
pkgver=0.6.4
pkgrel=0
pkgdesc="Interface library to access/deal with tags for identifying languages"
url="https://bitbucket.org/tagoh/liblangtag"
arch="all"
license="LGPL-3.0-or-later OR MPL-2.0"
depends_dev="glib-dev"
makedepends="$depends_dev gobject-introspection libtool libxml2-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://bitbucket.org/tagoh/liblangtag/downloads/liblangtag-$pkgver.tar.bz2"

build() {
	./configure --prefix=/usr
	make
}

check() {
	make -k check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
6c6dd3e6b0fc8d6f10cafd74112cbaf2a2342a88a908ad2f7ae759b3f5fb0cf6d788504c1de072e9ef019f2f5a284daeb2d2393036b6b402c5bc87f32b55f271  liblangtag-0.6.4.tar.bz2
"
